package org.hhh.org.mapper;

import org.hhh.basic.mapper.BaseMapper;
import org.hhh.org.domain.Department;

import java.util.List;

/**
 * 操作数据库的接口
 */
public interface DepartmentMapper extends BaseMapper<Department>{
    //基础crud抽取出来继承
    //扩展的业务接口自己写出来
    //查询部门树  一级+二级
    List<Department> findOneAndTwoTree();
}
